/**
//  * Magento
//  *
//  * NOTICE OF LICENSE
//  *
//  * This source file is subject to the Academic Free License (AFL 3.0)
//  * that is bundled with this package in the file LICENSE_AFL.txt.
//  * It is also available through the world-wide-web at this URL:
//  * http://opensource.org/licenses/afl-3.0.php
//  * If you did not receive a copy of the license and are unable to
//  * obtain it through the world-wide-web, please send an email
//  * to license@magentocommerce.com so we can send you a copy immediately.
//  *
//  * DISCLAIMER
//  *
//  * Do not edit or add to this file if you wish to upgrade Magento to newer
//  * versions in the future. If you wish to customize Magento for your
//  * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @copyright  Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

@import "vars";
/*
    Header
-------------------------------------- */
.header {
    position: relative;
    background: #f5f2ea;
    background: url();
    background: -moz-linear-gradient(top, #f5f2ea 0%, #f1ede3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f2ea), color-stop(100%, #f1ede3));
    background: -webkit-linear-gradient(top, #f5f2ea 0%, #f1ede3 100%);
    background: -o-linear-gradient(top, #f5f2ea 0%, #f1ede3 100%);
    background: -ms-linear-gradient(top, #f5f2ea 0%, #f1ede3 100%);
    background: linear-gradient(to bottom, #f5f2ea 0%, #f1ede3 100%);
    z-index: 992;
    padding: 0 20px;
}

.header-inner {
    min-width: 960px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 7px 0;
}

.header .logo {
    display: block;
    width: 109px;
    height: 27px;
    text-indent: -999em;
    background: url(Magento_Backend::images/logo-magento-small.png) no-repeat;
    margin: 0;
}
// /*
//.header .logo {
//    display: inline-block;
//    width: 100px;
//    height: 27px;
//    margin: 0;
//    text-indent: -999em;
//    position: relative;
//    z-index: 1;
//}
//
//.header .logo:before,
//.header .logo:after {
//    font-family: 'admin-icons';
//    font-size: 26px;
//    content: '\e00d';
//    position: absolute;
//    bottom: 0;
//    left: 0;
//    text-indent: 0;
//    line-height: 1;
//    font-weight: normal;
//}
//
//.header .logo:before {
//    content: '\e00d';
//    color: #f37b20;
//}
//
//.header .logo:after {
//    content: '\e00e';
//    color: #fab57f;
//}
//
//.header .logo span:before {
//    font-family: 'admin-icons';
//    content: '\e00f';
//    display: block;
//    position: absolute;
//    top: 0;
//    bottom: 0;
//    left: 28px;
//    font-size: 65px;
//    margin-top: -17px;
//    text-indent: 0;
//    line-height: 1;
//    font-weight: normal;
//    color: #000;
//}
// */

.header-panel {
    float: right;
    font-size: 12px;
}

/*
    Header Dropdown
-------------------------------------- */
.header-panel .dropdown-menu {
    display: none;
    width: 195px;
    margin: 8px -87px 0 0;
    border: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 2px 7px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 7px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 7px 2px rgba(0, 0, 0, 0.2);
}

.header-panel .dropdown-menu > li {
    position: relative;
    padding: 20px 30px 13px 18px;
    background: #f7f3eb;
    border-bottom: 1px solid #f7e4d0;
    white-space: normal;
}

.header-panel .dropdown-menu > li:hover {
    background: #fff;
}

.header-panel .dropdown-menu > li:first-child:hover:before,
.header-panel .dropdown-menu > li.first:hover:before {
    color: #fff;
}

.header-panel .dropdown-menu > li a {
    display: block;
    text-decoration: none;
    color: #8c867e;
    margin: 0 0 10px;
}

.header-panel .dropdown-menu > li a:hover {
    text-decoration: underline;
}

.header-panel .dropdown-menu > li:first-child,
.header-panel .dropdown-menu > li.first {
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.header-panel .dropdown-menu > li:last-child,
.header-panel .dropdown-menu > li.last {
    border-bottom: 0;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/*
    Account
-------------------------------------- */
.header-panel .account {
    position: relative;
    float: left;
    margin: 0 0 0 30px;
    padding: 6px 0 0;
}

.header-panel .account > a {
    color: #656057;
    position: relative;
    display: inline-block;
    min-width: 20px;
    text-decoration: none;
    padding: 0 10px 0 0;
}

.header-panel .account > a:before {
    position: absolute;
    top: 2px;
    right: 0;
    bottom: 0;
    font-family: 'MUI-Icons';
    font-style: normal;
    speak: none;
    font-weight: normal;
    font-size: 9px;
    -webkit-font-smoothing: antialiased;
    content: '\e02c'; /*  icon point down */
}

.header-panel .account img {
    position: relative;
    border-radius: 3px;
    z-index: 1;
}

.no-js .header-panel .account:hover > a {
    padding-bottom: 5px;
    margin-bottom: -5px;
}

.header-panel .account.active .dropdown-menu,
.no-js .header-panel .account:hover .dropdown-menu,
.no-js .header-panel .account > a:focus + .dropdown-menu {
    display: block;
}

/*
    Link to store front
-------------------------------------- */
.header-panel .store-front {
    color: #676056;
    text-decoration: none;
    position: relative;
    padding: 6px 0 0 20px;
    float: left;
    margin: 0 0 0 30px;
}

.header-panel .store-front:before {
    font-family: 'admin-icons';
    font-style: normal;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    content: '\e005'; /* icon store info */
    font-size: 17px;
    position: absolute;
    left: 0;
    top: 4px;
}

/*
    Messages
-------------------------------------- */
.header-panel .notifications {
    position: relative;
    float: left;
    margin: 0 6px 0 21px;
    padding: 9px 0 0;
}

.header-panel .notifications-icon {
    position: relative;
    display: inline-block;
    height: 12px;
    width: 17px;
    text-decoration: none;
    text-align: center;
    background: #cac2b5;
    box-shadow: 0 1px 0 #fff;
    border-radius: 2px;
}

.header-panel .notifications-icon:hover,
.header-panel .notifications-icon:active {
    background: #b0a798;
}

.header-panel .notifications-icon:before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    margin-top: -5px;
    font-family: 'MUI-Icons';
    font-style: normal;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    content: '\e02c'; /* user icon */
    font-size: 8px;
    color: #cac2b5;
    text-shadow: 0 1px 0 #fff;
}

.header-panel .notifications-icon:hover:before,
.header-panel .notifications-icon:active:before {
    color: #b0a798;
}

.header-panel .notifications .value {
    .style16();
    line-height: 11px;
    padding: 1px 3px;
    min-width: 10px;
    background: #f58220;
    border: 1px solid #bd5100;
    border-radius: 4px;
    box-shadow: 0 1px 0 #31302b;
    left: 6px;
    top: -5px;
    position: absolute;
}

.header-panel .notifications.active .dropdown-menu {
    display: block;
    margin-top: 12px;
    border: 2px solid #676056;
    width: 288px;
    margin: 8px -52px 0 0;
}

.header-panel .dropdown-menu > li {
    background: #fff;
    border-bottom: 0;
    position: relative;
    padding: 13px 26px 14px 16px;
    white-space: normal;
}

.header-panel .dropdown-menu > li:after {
    border-bottom: 1px solid #f7e4d0;
    display: block;
    position: absolute;
    bottom: 0;
    left: 2px;
    content: '';
    width: 284px;
}

.header-panel .dropdown-menu > li:last-child:after,
.header-panel .dropdown-menu > li.last:after {
    display: none;
}

.header-panel .notifications > .dropdown-menu .notification-description {
    max-height: 43px;
    overflow: hidden;
    display: block;
    .style14();
}

.header-panel .notifications > .dropdown-menu .notification-entry {
    display: none;
}

.header-panel .notifications .dropdown-menu:before,
.header-panel .notifications .dropdown-menu:after {
    position: absolute;
    width: 10px;
    height: 10px;
    right: 55px;
    top: -10px;
    font-family: 'MUI-Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: '\e029'; /* user icon */
    color: #fff;
    z-index: 2;
}

.header-panel .notifications .dropdown-menu:after {
    color: #676056;
    font-size: 17px;
    height: 12px;
    right: 57px;
    top: -14px;
    z-index: 1;
}

.header-panel .notifications > .dropdown-menu .notification-entry:first-child {display: block;}
.header-panel .notifications > .dropdown-menu .notification-entry:first-child + .notification-entry {display: block;}
.header-panel .notifications > .dropdown-menu .notification-entry:first-child + .notification-entry + .notification-entry {display: block;}
.header-panel .notifications > .dropdown-menu .notification-entry:first-child + .notification-entry + .notification-entry + .notification-entry {display: block;}
.header-panel .notifications > .dropdown-menu .notification-entry:first-child + .notification-entry + .notification-entry + .notification-entry + .notification-entry {display: block;}

.header-panel .notifications > .dropdown-menu .notification-entry:nth-child(-n+5) {
    display: block;
}

.header-panel .notifications > .dropdown-menu .notification-entry .notification-dialog-content {
    display: none;
}

/*
    Notification entry dialog
-------------------------------------- */

.notification-entry-dialog .notification-dialog-content,
.notification-entry-dialog .ui-dialog-buttonpane {
    background: #fefaf6;
}

.notification-entry-dialog .ui-dialog-titlebar {
    background: #f9f1e8;
}

.notification-entry-dialog .ui-dialog-title {
    font-size: 22px;
    padding-left: 24px;
}

.notification-entry-dialog-critical .ui-dialog-titlebar {
    background: #fee4d0;
}

.notification-entry-dialog-critical .ui-dialog-title {
    padding-left: 54px;
}

.notification-entry-dialog-critical .ui-dialog-title:before {
    content: "\e086";
    font-family: 'MUI-Icons';
    color: #c00815;
    font-style: normal;
    font-weight: normal;
    font-size: 26px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    left: 21px;
    position: absolute;
    top: 16px;
}

.notification-entry-dialog  .ui-dialog-titlebar-close:before {
    font-size: 15px;
}

.notification-entry-dialog .notification-dialog-content {
    padding-top: 19px;
    padding-bottom: 16px;
}

.notification-entry-dialog .notification-dialog-content strong {
    display: block;
    color: #f58220;
    font-size: 18px;
    font-weight: 500;
}

.notification-entry-dialog .notification-dialog-content .notification-description {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42;
    padding: 3px 0 7px;
}

.notification-entry-dialog .notification-dialog-content time {
    color: #8c867e;
    font-size: 13px;
    font-family: Helvetica, Arial, sans-serif;
    position: absolute;
    right: 17px;
    bottom: 27px;
    text-align: right;
}

.notification-entry-dialog .notification-dialog-content .actions {
    margin-bottom: 22px;
}

.notification-entry-dialog .notification-dialog-content .actions a {
    color: #676056;
    position: relative;
    margin-right: 20px;
}

.notification-entry-dialog .notification-dialog-content .actions a:after {
    content: "\e084";
    font-family: 'MUI-Icons';
    color: #6a5f54;
    font-size: 12px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: -17px;
    top: -2px;
}

.notification-entry-dialog .ui-dialog-buttonset {
    text-align: left;
}

.notification-entry-dialog .ui-dialog-buttonpane {
    margin: 0;
    padding: 0 24px 22px;
}

.notification-entry-dialog .ui-dialog-buttonset button[class^="action-"] {
    background-image: none;
    margin: 0 16px 0 0;
    vertical-align: middle;
    text-shadow: none;
    box-shadow: none;
    border: 0;
}

.notification-entry-dialog .ui-dialog-buttonset .action-acknowledge {
    background-color: #f47b20;
    border: 0;
    padding: 5px 15px;
}

.notification-entry-dialog .ui-dialog-buttonset .action-acknowledge:hover {
    background-color: #e47821;
}

.notification-entry-dialog .ui-dialog-buttonset .action-cancel {
    background-color: #dbd6ce;
    border: 0;
    padding: 5px 15px;
}

.notification-entry-dialog .ui-dialog-buttonset .action-cancel:hover {
    background-color: #d3cdc4;
}

.header-panel .account > .dropdown-menu a,
.header-panel .search .autocomplete-results .title {
    display: block;
    color: #f58220;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.header-panel .notifications > .dropdown-menu li > strong {
    display: block;
    .style33();
    max-height: 32px;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 4px;
}

.header-panel .notifications > .dropdown-menu li.notification-critical strong {
    padding-left: 30px;
    position: relative;
}

.header-panel .notifications > .dropdown-menu li.notification-critical > strong:before {
    display: block;
    content: "\e086";
    font-family: 'MUI-Icons';
    color: #c00815;
    font-size: 19px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    left: 0;
    top: 5px;
}

.header-panel .notifications > .dropdown-menu > li:hover {
    background: #f7f3eb;
    cursor: pointer;
    margin-top: -1px;
    padding-top: 14px;
    z-index: 2;
}

.header-panel .notifications > .dropdown-menu > li:first-child:hover,
.header-panel .notifications > .dropdown-menu > li.first:hover,
.header-panel .notifications > .dropdown-menu > li:last-child:hover,
.header-panel .notifications > .dropdown-menu > li.last:hover {
    margin-top: 0;
    padding-top: 13px;
}

.header-panel .dropdown-menu > li:hover:after {
    display: none;
}

.header-panel .notifications > .dropdown-menu > li:hover .action-close {
    display: block;
}

.header-panel .notifications > .dropdown-menu > .new,
.header-panel .notifications > .dropdown-menu > .new:hover {
    background: #f47b20;
    color: #fff;
}

.header-panel .notifications > .dropdown-menu > li.new:first-child:before,
.header-panel .notifications > .dropdown-menu > li.new.first:before,
.header-panel .notifications > .dropdown-menu > li.new:first-child:hover:before,
.header-panel .notifications > .dropdown-menu > li.new.first:hover:before {
    color: #f47b20;
}

.header-panel .notifications > .dropdown-menu > .new strong,
.header-panel .notifications > .dropdown-menu > .new div,
.header-panel .notifications > .dropdown-menu > .new a,
.header-panel .notifications > .dropdown-menu > .new time,
.header-panel .notifications > .dropdown-menu .new .action-close:hover,
.header-panel .notifications > .dropdown-menu .new .action-close:focus {
    color: #fff;
}

.header-panel .notifications > .dropdown-menu time {
    .style14();
    display: block;
    margin-top: 7px;
}

.header-panel .notifications > .dropdown-menu a:focus ~ .action-close,
.header-panel .notifications > .dropdown-menu .action-close:focus {
    display: block;
}

.header-panel .notifications > .dropdown-menu .action-close {
    position: absolute;
    display: none;
    top: 8px;
    right: 4px;
    width: 20px;
    height: 20px;
    text-indent: -999em;
    overflow: hidden;
    color: #cac2b5;
}

.header-panel .notifications > .dropdown-menu .action-close:hover {
    color: #b0a789;
}

.header-panel .notifications > .dropdown-menu .action-close:before {
    display: block;
    font-family: 'MUI-Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 19px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: '\e07f'; /* trashbin icon */
    text-indent: 0;
}


.header .header-panel .notifications .dropdown-menu > li.last {
    padding: 0;
}

.header .header-panel .notifications .action-more {
    display: block;
    background: #676056;
    border: 0;
    color: #f7f3eb;
    font-size: 13px;
    font-weight: bold;
    height: 23px;
    width: 100%;
    line-height: 23px;
    text-shadow: none;
    text-align: center;
    margin: 0;
}

.header .header-panel .notifications .action-more:hover {
    text-decoration: none;
}

/*
    Help
-------------------------------------- */
.header-panel .help {
    float: left;
    margin: 0 0 0 30px;
    padding: 6px 0 0;
}

/*
    Search
-------------------------------------- */
.search {
    position: relative;
    float: left;
    margin: -4px 0 -5px 50px;
}

.search form {
    position: relative;
}

.search input {
    position: relative;
    display: none;
    width: 50px;
    height: 36px;
    line-height: 2;
    margin: 0;
    padding: 4px 25px 4px 4px;
    background: #fff;
}

.header .search .ajax-loading:before {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: -20px;
    margin: 0;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background-image: url(../mui/images/ajax-loader-small.gif);
}

.header .search .mage-suggest {
    border: none;
}

.header .search .mage-suggest::after {
    content: '';
}

.search .dropdown-menu {
    display: block;
    right: auto;
    margin-right: 0;
    width: 100%;
}

.autocomplete-results {
    left: 0 !important; // TODO: Because of script bug in IE9
    right: 0;
}

.autocomplete-results .title {
    display: block;
}

.autocomplete-results .type {
    margin: 0 0 10px;
}

.header.active .search {
    margin-left: 30px;
}

.header.active .search input {
    display: inline-block;
}

.no-js .search input {
    display: inline-block;
    width: 350px;
}

.search button[type="submit"],
.search button[type="submit"]:hover,
.search button[type="submit"]:active,
.search button[type="submit"]:focus {
    position: absolute;
    top: 2px;
    right: 0;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    overflow: hidden;
    text-indent: -999em;
    color: #676056;
    text-shadow: 0 1px 0 #fff;
    box-shadow: none;
    filter: none;
}

.search button[type="submit"]:hover,
.header.active .search button[type="submit"],
.header.active .search button[type="submit"]:hover,
.header.active .search button[type="submit"]:active,
.header.active .search button[type="submit"]:focus {
    color: #201f1c;
}

.eq-ie9 .search button[type="submit"] {
    top: 4px;
}

.search button[type="submit"]:before {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-family: 'MUI-Icons';
    font-style: normal;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    content: '\e01f'; /* user icon */
    text-indent: 0;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

/*
    Clearfix
-------------------------------------- */
.header-panel:before,
.header-panel:after,
.header-inner:before,
.header-inner:after,
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.header-panel:after,
.header-inner:after,
.clearfix:after {
    clear: both;
}
